import logApi from "@/api/declaration/logApi"
import httpRequest from "@/config/axios/httpRequest"



// 任务日志列表
export const getJobLogPage = (params: PageParam) => {
  return httpRequest.get(logApi.GetJobLogPage,
     { params })
}

// 任务日志详情
export const getJobLog = (id: number) => {
  return httpRequest.get(logApi.GetJobLog, 
    { params: { id } })
}

// 导出定时任务日志
export const exportJobLog = (params) => {
  return httpRequest.download(logApi.ExportJobLog,
     params)
}
